.banner-ad {
    width: 100%; /* 宽度默认占满容器 */
    display: flex;
    justify-content: center; /* 内容居中 */
    margin: 1px 0; /* 上下间距 */
}

.banner-ad a {
    display: block; /* 链接块 */
}

.adHF{
    width: 1200px; /* 最大宽度，与视频列表对齐 */
    height: 60px; /* 保持图片比例 */
}

.adHF1 {
    width: 1200px; /* 最大宽度，与视频列表对齐 */
    height: 120px; /* 保持图片比例 */
}
/* 移动端样式：固定高度为80px，图片完整显示 */
@media (max-width: 768px) {
    .adHF {
        height: 40px; /* 固定高度为80px */
        width: 100vw; /* 宽度自适应 */
    }
    .adHF1 {
        height: 80px; /* 固定高度为80px */
        width: 100vw; /* 宽度自适应 */
    }
}

/* 容器 */
.ad-container {
    max-width: 1200px;
    margin: auto;
    display: block;
    box-sizing: border-box;
}

@media screen and (max-width: 750px) {
    .menu {
        margin: 0px 0 0;
        border-radius: 0;
        padding: 0;
        width: 100%;
    }
}
.menu-wrap dl {
    margin: auto;
    display: block;
    float: left;
    width: 100%;
    padding: 15px 0;
    background-color: #e5e5e5;
}
.menu-wrap dt {
    width: 8%;
    font-size: 20px;
    color: #000;
}
.menu-wrap dt, .menu-wrap dd {
    float: left;
    line-height: 40px;
    text-align: center;
}

@media screen and (max-width: 750px) {
    .menu dt {
        width: 14%;
        line-height: 70px;
        font-size: 14px;
    }
}
.menu-wrap dd {
    width: 11.5%;
    font-size: 16px;
}

@media screen and (max-width: 750px) {
    .menu-wrap dl {
        padding: 10px 0;
    }
}

.menu dl:first-child {
    border-top: 0;
}

.menu-wrap dt a {
    background: #e7cdaa;
    padding: 5px;
    border-radius: 10px;
    color: black;
    font-size: 16px;
}



.menu-wrap::after {
    content: "";
    display: table;
    clear: both;
}


@-webkit-keyframes hue {
	from {
		-webkit-filter: hue-rotate(0deg);
		-moz-filter: hue-rotate(0deg)
	}

	to {
		-webkit-filter: hue-rotate(-360deg);
		-moz-filter: hue-rotate(-360deg)
	}
}

/* 容器样式 */
.ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(66px, 1fr)); /* 每个最小66px，剩余空间均分 */
    gap: 4px; /* 广告之间的间距 */
    max-width: 1200px; /* 宽度与页面一致 */
    margin: 2px auto; /* 居中显示 */
    padding: 5px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 750px) {
    .menu-wrap dd {
        width: 21%;
        line-height: 30px;
        font-size: 14px;
    }
    /* 容器样式 */
    .ad-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(55px, 1fr)); /* 每个最小66px，剩余空间均分 */
        gap: 4px; /* 广告之间的间距 */
        max-width: 85%; /* 宽度与页面一致 */
        margin: 2px 0; /* 居中显示 */
        padding: 5px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
    }
}

/* 样式 */
.ad-item {
    margin: 2px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 图片样式 */
.ad-item img {
    width: 80%; /* 图片宽度80% */
    object-fit: contain; /* 保持图片比例 */
    border-radius: 10px;
    max-width: 80px;
}

/* 文字样式 */
.ad-item div {
    font-size: 10px ;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    color: #f35626;
    background-image: -webkit-linear-gradient(92deg, #f35626, #7100ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: hue 10s infinite linear;
}

/* 鼠标悬停时的效果 */
.ad-item:hover {
    transform: translateY(-5px); /* 向上浮动 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 响应式设计：移动端 */
@media (max-width: 768px) {
    .ad-item img {
        width: 100%; /* 图片宽度为100% */
    }
}



#ppap {
    position: relative;
    z-index: 9999;
}

.ppap {
    position: fixed;
    /*width: 100px; !* 固定宽度 *!*/
    /*height: 100px; !* 固定高度 *!*/
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ppap:hover {
    transform: scale(1.1);
}

.ppap.zuo1 {
    top: 13%;
    right: 1%;
}

.ppap.zuo2 {
    top: 27%;
    right: 1%;
}

.ppap.zuo3 {
    top: 42%;
    right: 1%;
}

.ppap.zuo4 {
    top: 57%;
    right: 1%;
}

.ppap.zuo5 {
    top: 73%;
    right: 1%;
}

.ppap.xia1 {
    top: 88%;
    left: 5%;
}

.ppap.xia2 {
    top: 88%;
    left: 29%;
}

.ppap.xia3 {
    top: 88%;
    left: 53%;
}

.ppap.xia4 {
    top: 88%;
    left: 78%;
}


/* 图片样式，防止过大 */
.ppap img {
    width: 60px; /* 自适应父容器 */
    height: 60px; /* 自适应父容器 */
    border-radius: 10px; /* 图片圆角 */
}

/*dd > a{*/
/*    color: #fff;*/
/*}*/